package kr.co.goodwilldd.service.board;

import java.util.List;

import kr.co.goodwilldd.entity.board.model.BoardEntity;
import kr.co.goodwilldd.framework.common.model.CommonPaging;
import kr.co.goodwilldd.framework.service.IServiceDefault;

public interface IBoardService extends IServiceDefault {

	/**
	 * 게시판 목록
	 * 
	 * @param searchValue
	 * @param cpage
	 * @param boardSeq
	 * @param searchValue2 
	 * 
	 * @return
	 */
	public CommonPaging<BoardEntity> getList(Integer boardSeq, Integer cpage,
			String searchKey, String searchValue);

	/**
	 * 상품 메인 페이지에 노출 될 상품 목록
	 * @param boardSeq
	 * @return
	 */
	public List<BoardEntity> getNoticeList(Integer boardSeq);
	
	/**
	 * 게시판 글
	 * 
	 * @param seq
	 * @return
	 */
	public BoardEntity getArticle(BoardEntity entity);

	/**
	 * 게시판 글쓰기
	 * @param entity
	 */
	public void doWrite(BoardEntity entity);

	/**
	 * 게시판 글 삭제
	 * @param entity
	 */
	public void doDelete(BoardEntity entity);

	/**
	 * 게시판 글 수정
	 * @param entity
	 */
	public void doModify(BoardEntity entity);
}
